package com.name.givename.serviceimpl;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import org.springframework.stereotype.Component;

/**
 * Created by yangtianrui on 18/9/5.
 */
@Component
@JobHandler("xxl-job-executor-example")
public class JobHandlerServiceIpml extends IJobHandler{

    @Override
    public ReturnT<String> execute(String s) throws Exception {
        ReturnT success = IJobHandler.SUCCESS;
        return success;
    }
}
